package org.example.domain;

import lombok.Data;

@Data
public class TransferMsg {
    //唯一标识
    private String id;
    //发起人账户
    private String originator;
    //接收人
    private String receiver;
    //金额
    private Integer amount;
    //消息是否过期
    private boolean isExpire = false;
    //是否转账成功
    private Integer results = 0;//0，对方还没有接收 1，对方接收 2、对方拒绝

    public boolean isExpire() {
        return isExpire;
    }

    public void setExpire(boolean expire) {
        isExpire = expire;
    }
}
